/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jogocartas;


import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;

import javax.swing.JPanel;

/**
 *
 * @author sota
 */
public class tabuleiro extends javax.swing.JFrame {

    /**
     * Creates new form tela
     */
    public tabuleiro() {
        initComponents();
    }
   
    
  //  public void seta_ataque_1_carta(){
   //     jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jogocartas/imagens/telas/cartas/ataque/ataque_chute_fraco.jpg")));
  //  }
    public void inicializaprogress(){
//        jProgressBar1.setMinimum(0);  
//        jProgressBar1.setMaximum(100);
//        jProgressBar1.setValue(0);


    }
    
      public void barravalor() {
        for (int i = 0; i <= 100; i++){
  //          jProgressBar1.setValue(i);
            try{Thread.sleep(50);} // make the process last a while
            catch (InterruptedException e){}
        }
    }
  

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel4 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jProgressBar1 = new javax.swing.JProgressBar();
        jProgressBar2 = new javax.swing.JProgressBar();
        jProgressBar3 = new javax.swing.JProgressBar();
        jProgressBar4 = new javax.swing.JProgressBar();
        jcartainimigo1 = new javax.swing.JLabel();
        jcartainimigo2 = new javax.swing.JLabel();
        jcartainimigo3 = new javax.swing.JLabel();
        jcartainimigo4 = new javax.swing.JLabel();
        jcartainimigo5 = new javax.swing.JLabel();
        jcartainimigo6 = new javax.swing.JLabel();
        jProgressBar5 = new javax.swing.JProgressBar();

        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setPreferredSize(new java.awt.Dimension(1024, 730));
        setType(java.awt.Window.Type.POPUP);
        getContentPane().setLayout(null);
        getContentPane().add(jLabel3);
        jLabel3.setBounds(487, 362, 48, 67);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jogocartas/imagens/telas/tabuleiro_inimigo.jpg"))); // NOI18N
        getContentPane().add(jLabel1);
        jLabel1.setBounds(10, 0, 480, 340);

        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jogocartas/imagens/telas/tabuleiro_player.jpg"))); // NOI18N
        getContentPane().add(jLabel2);
        jLabel2.setBounds(160, 352, 480, 340);
        getContentPane().add(jProgressBar1);
        jProgressBar1.setBounds(860, 230, 146, 14);
        getContentPane().add(jProgressBar2);
        jProgressBar2.setBounds(860, 270, 146, 14);
        getContentPane().add(jProgressBar3);
        jProgressBar3.setBounds(860, 310, 146, 14);
        getContentPane().add(jProgressBar4);
        jProgressBar4.setBounds(860, 350, 146, 14);

        jcartainimigo1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        getContentPane().add(jcartainimigo1);
        jcartainimigo1.setBounds(500, 0, 80, 100);

        jcartainimigo2.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        getContentPane().add(jcartainimigo2);
        jcartainimigo2.setBounds(584, 0, 80, 100);

        jcartainimigo3.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        getContentPane().add(jcartainimigo3);
        jcartainimigo3.setBounds(668, 0, 80, 100);

        jcartainimigo4.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        getContentPane().add(jcartainimigo4);
        jcartainimigo4.setBounds(752, 0, 80, 100);

        jcartainimigo5.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        getContentPane().add(jcartainimigo5);
        jcartainimigo5.setBounds(836, 0, 80, 100);

        jcartainimigo6.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        getContentPane().add(jcartainimigo6);
        jcartainimigo6.setBounds(920, 0, 80, 100);
        getContentPane().add(jProgressBar5);
        jProgressBar5.setBounds(860, 190, 146, 14);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(tabuleiro.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(tabuleiro.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(tabuleiro.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(tabuleiro.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new tabuleiro().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JProgressBar jProgressBar2;
    private javax.swing.JProgressBar jProgressBar3;
    private javax.swing.JProgressBar jProgressBar4;
    private javax.swing.JProgressBar jProgressBar5;
    private javax.swing.JLabel jcartainimigo1;
    private javax.swing.JLabel jcartainimigo2;
    private javax.swing.JLabel jcartainimigo3;
    private javax.swing.JLabel jcartainimigo4;
    private javax.swing.JLabel jcartainimigo5;
    private javax.swing.JLabel jcartainimigo6;
    // End of variables declaration//GEN-END:variables


}